package com.yuchen.ishop.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import java.io.Serializable;

/**
 * @author Jack Q
 * 中国省市区街道
 */
@Table("t_basic_address")
public class Address implements Serializable {

    @Id
    private Long id;

    @Column("code_no")
    private String codeNo;

    @Column("name")
    private String name;

    @Column("parent_code_no")
    private String parentCodeNo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCodeNo() {
        return codeNo;
    }

    public void setCodeNo(String codeNo) {
        this.codeNo = codeNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentCodeNo() {
        return parentCodeNo;
    }

    public void setParentCodeNo(String parentCodeNo) {
        this.parentCodeNo = parentCodeNo;
    }
}
